<?php
namespace GrouppaGroup;
/**
 * Settings file with all the settings used
 */

date_default_timezone_set('Europe/Amsterdam');

// Compression level for response message
define('COMPRESSION_LEVEL', 5);

// Database settings:
if (!array_key_exists('debug', $_SERVER)) {
    define('DB_URL', '127.0.0.1');
} else {
    define('DB_URL', $_SERVER['mysqlIP']);
}

define('DB_USER_NAME', 'klant00520_scl');
define('DB_USER_PASSWORD', 'AiGTvnD1');
define('DB_DB_NAME', 'klant00520_scl');

// How long the user will appear as online since last connection with server in seconds
define('USER_ONLINE_TIME', 6000);
// How long the access token can thrive without having to be prolonged in seconds
define('USER_ACCESS_TOKEN_TIME', 6000);
define('USER_ACCESS_TOKEN_CHECK_VALIDITY', false);
